﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200038B RID: 907
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DDNHBFCDPJN : IMessage<DDNHBFCDPJN>, IMessage, IEquatable<DDNHBFCDPJN>, IDeepCloneable<DDNHBFCDPJN>, IBufferMessage
	{
		// Token: 0x17000BB2 RID: 2994
		// (get) Token: 0x060028AF RID: 10415 RVA: 0x00071317 File Offset: 0x0006F517
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DDNHBFCDPJN> Parser
		{
			get
			{
				return DDNHBFCDPJN._parser;
			}
		}

		// Token: 0x17000BB3 RID: 2995
		// (get) Token: 0x060028B0 RID: 10416 RVA: 0x0007131E File Offset: 0x0006F51E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DDNHBFCDPJNReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000BB4 RID: 2996
		// (get) Token: 0x060028B1 RID: 10417 RVA: 0x00071330 File Offset: 0x0006F530
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DDNHBFCDPJN.Descriptor;
			}
		}

		// Token: 0x060028B2 RID: 10418 RVA: 0x00071337 File Offset: 0x0006F537
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DDNHBFCDPJN()
		{
		}

		// Token: 0x060028B3 RID: 10419 RVA: 0x00071340 File Offset: 0x0006F540
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DDNHBFCDPJN(DDNHBFCDPJN other) : this()
		{
			this.costData_ = ((other.costData_ != null) ? other.costData_.Clone() : null);
			this.bKAEEIGENOA_ = other.bKAEEIGENOA_;
			this.hCFGMKCCAGA_ = other.hCFGMKCCAGA_;
			this.iDIMBKMJOMA_ = ((other.iDIMBKMJOMA_ != null) ? other.iDIMBKMJOMA_.Clone() : null);
			this.hNNCGIBOHCO_ = other.hNNCGIBOHCO_;
			this.buffId_ = other.buffId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060028B4 RID: 10420 RVA: 0x000713CC File Offset: 0x0006F5CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DDNHBFCDPJN Clone()
		{
			return new DDNHBFCDPJN(this);
		}

		// Token: 0x17000BB5 RID: 2997
		// (get) Token: 0x060028B5 RID: 10421 RVA: 0x000713D4 File Offset: 0x0006F5D4
		// (set) Token: 0x060028B6 RID: 10422 RVA: 0x000713DC File Offset: 0x0006F5DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemCostData CostData
		{
			get
			{
				return this.costData_;
			}
			set
			{
				this.costData_ = value;
			}
		}

		// Token: 0x17000BB6 RID: 2998
		// (get) Token: 0x060028B7 RID: 10423 RVA: 0x000713E5 File Offset: 0x0006F5E5
		// (set) Token: 0x060028B8 RID: 10424 RVA: 0x000713ED File Offset: 0x0006F5ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool BKAEEIGENOA
		{
			get
			{
				return this.bKAEEIGENOA_;
			}
			set
			{
				this.bKAEEIGENOA_ = value;
			}
		}

		// Token: 0x17000BB7 RID: 2999
		// (get) Token: 0x060028B9 RID: 10425 RVA: 0x000713F6 File Offset: 0x0006F5F6
		// (set) Token: 0x060028BA RID: 10426 RVA: 0x000713FE File Offset: 0x0006F5FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HCFGMKCCAGA
		{
			get
			{
				return this.hCFGMKCCAGA_;
			}
			set
			{
				this.hCFGMKCCAGA_ = value;
			}
		}

		// Token: 0x17000BB8 RID: 3000
		// (get) Token: 0x060028BB RID: 10427 RVA: 0x00071407 File Offset: 0x0006F607
		// (set) Token: 0x060028BC RID: 10428 RVA: 0x0007140F File Offset: 0x0006F60F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemCostData IDIMBKMJOMA
		{
			get
			{
				return this.iDIMBKMJOMA_;
			}
			set
			{
				this.iDIMBKMJOMA_ = value;
			}
		}

		// Token: 0x17000BB9 RID: 3001
		// (get) Token: 0x060028BD RID: 10429 RVA: 0x00071418 File Offset: 0x0006F618
		// (set) Token: 0x060028BE RID: 10430 RVA: 0x00071420 File Offset: 0x0006F620
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool HNNCGIBOHCO
		{
			get
			{
				return this.hNNCGIBOHCO_;
			}
			set
			{
				this.hNNCGIBOHCO_ = value;
			}
		}

		// Token: 0x17000BBA RID: 3002
		// (get) Token: 0x060028BF RID: 10431 RVA: 0x00071429 File Offset: 0x0006F629
		// (set) Token: 0x060028C0 RID: 10432 RVA: 0x00071431 File Offset: 0x0006F631
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BuffId
		{
			get
			{
				return this.buffId_;
			}
			set
			{
				this.buffId_ = value;
			}
		}

		// Token: 0x060028C1 RID: 10433 RVA: 0x0007143A File Offset: 0x0006F63A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DDNHBFCDPJN);
		}

		// Token: 0x060028C2 RID: 10434 RVA: 0x00071448 File Offset: 0x0006F648
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DDNHBFCDPJN other)
		{
			return other != null && (other == this || (object.Equals(this.CostData, other.CostData) && this.BKAEEIGENOA == other.BKAEEIGENOA && this.HCFGMKCCAGA == other.HCFGMKCCAGA && object.Equals(this.IDIMBKMJOMA, other.IDIMBKMJOMA) && this.HNNCGIBOHCO == other.HNNCGIBOHCO && this.BuffId == other.BuffId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060028C3 RID: 10435 RVA: 0x000714DC File Offset: 0x0006F6DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.costData_ != null)
			{
				num ^= this.CostData.GetHashCode();
			}
			if (this.BKAEEIGENOA)
			{
				num ^= this.BKAEEIGENOA.GetHashCode();
			}
			if (this.HCFGMKCCAGA != 0U)
			{
				num ^= this.HCFGMKCCAGA.GetHashCode();
			}
			if (this.iDIMBKMJOMA_ != null)
			{
				num ^= this.IDIMBKMJOMA.GetHashCode();
			}
			if (this.HNNCGIBOHCO)
			{
				num ^= this.HNNCGIBOHCO.GetHashCode();
			}
			if (this.BuffId != 0U)
			{
				num ^= this.BuffId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060028C4 RID: 10436 RVA: 0x00071592 File Offset: 0x0006F792
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060028C5 RID: 10437 RVA: 0x0007159A File Offset: 0x0006F79A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060028C6 RID: 10438 RVA: 0x000715A4 File Offset: 0x0006F7A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.HNNCGIBOHCO)
			{
				output.WriteRawTag(16);
				output.WriteBool(this.HNNCGIBOHCO);
			}
			if (this.HCFGMKCCAGA != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.HCFGMKCCAGA);
			}
			if (this.BKAEEIGENOA)
			{
				output.WriteRawTag(48);
				output.WriteBool(this.BKAEEIGENOA);
			}
			if (this.iDIMBKMJOMA_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.IDIMBKMJOMA);
			}
			if (this.costData_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.CostData);
			}
			if (this.BuffId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.BuffId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060028C7 RID: 10439 RVA: 0x00071670 File Offset: 0x0006F870
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.costData_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.CostData);
			}
			if (this.BKAEEIGENOA)
			{
				num += 2;
			}
			if (this.HCFGMKCCAGA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HCFGMKCCAGA);
			}
			if (this.iDIMBKMJOMA_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.IDIMBKMJOMA);
			}
			if (this.HNNCGIBOHCO)
			{
				num += 2;
			}
			if (this.BuffId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BuffId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060028C8 RID: 10440 RVA: 0x00071710 File Offset: 0x0006F910
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DDNHBFCDPJN other)
		{
			if (other == null)
			{
				return;
			}
			if (other.costData_ != null)
			{
				if (this.costData_ == null)
				{
					this.CostData = new ItemCostData();
				}
				this.CostData.MergeFrom(other.CostData);
			}
			if (other.BKAEEIGENOA)
			{
				this.BKAEEIGENOA = other.BKAEEIGENOA;
			}
			if (other.HCFGMKCCAGA != 0U)
			{
				this.HCFGMKCCAGA = other.HCFGMKCCAGA;
			}
			if (other.iDIMBKMJOMA_ != null)
			{
				if (this.iDIMBKMJOMA_ == null)
				{
					this.IDIMBKMJOMA = new ItemCostData();
				}
				this.IDIMBKMJOMA.MergeFrom(other.IDIMBKMJOMA);
			}
			if (other.HNNCGIBOHCO)
			{
				this.HNNCGIBOHCO = other.HNNCGIBOHCO;
			}
			if (other.BuffId != 0U)
			{
				this.BuffId = other.BuffId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060028C9 RID: 10441 RVA: 0x000717E0 File Offset: 0x0006F9E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060028CA RID: 10442 RVA: 0x000717EC File Offset: 0x0006F9EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 48U)
				{
					if (num == 16U)
					{
						this.HNNCGIBOHCO = input.ReadBool();
						continue;
					}
					if (num == 24U)
					{
						this.HCFGMKCCAGA = input.ReadUInt32();
						continue;
					}
					if (num == 48U)
					{
						this.BKAEEIGENOA = input.ReadBool();
						continue;
					}
				}
				else
				{
					if (num == 58U)
					{
						if (this.iDIMBKMJOMA_ == null)
						{
							this.IDIMBKMJOMA = new ItemCostData();
						}
						input.ReadMessage(this.IDIMBKMJOMA);
						continue;
					}
					if (num == 66U)
					{
						if (this.costData_ == null)
						{
							this.CostData = new ItemCostData();
						}
						input.ReadMessage(this.CostData);
						continue;
					}
					if (num == 112U)
					{
						this.BuffId = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400102C RID: 4140
		private static readonly MessageParser<DDNHBFCDPJN> _parser = new MessageParser<DDNHBFCDPJN>(() => new DDNHBFCDPJN());

		// Token: 0x0400102D RID: 4141
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400102E RID: 4142
		public const int CostDataFieldNumber = 8;

		// Token: 0x0400102F RID: 4143
		private ItemCostData costData_;

		// Token: 0x04001030 RID: 4144
		public const int BKAEEIGENOAFieldNumber = 6;

		// Token: 0x04001031 RID: 4145
		private bool bKAEEIGENOA_;

		// Token: 0x04001032 RID: 4146
		public const int HCFGMKCCAGAFieldNumber = 3;

		// Token: 0x04001033 RID: 4147
		private uint hCFGMKCCAGA_;

		// Token: 0x04001034 RID: 4148
		public const int IDIMBKMJOMAFieldNumber = 7;

		// Token: 0x04001035 RID: 4149
		private ItemCostData iDIMBKMJOMA_;

		// Token: 0x04001036 RID: 4150
		public const int HNNCGIBOHCOFieldNumber = 2;

		// Token: 0x04001037 RID: 4151
		private bool hNNCGIBOHCO_;

		// Token: 0x04001038 RID: 4152
		public const int BuffIdFieldNumber = 14;

		// Token: 0x04001039 RID: 4153
		private uint buffId_;
	}
}
